package com.funtl.framework.web.purview.service;

import java.util.List;

import com.funtl.framework.java.util.exception.ServiceException;
import com.funtl.framework.web.entity.PurviewMenu;

/**
 * 权限菜单
 * @author WMLI
 * Create on 2013-5-14
 */
public interface IPurviewMenuService {
	/**
	 * 查询当前用户权限
	 * @param managerId
	 * @return
	 * @throws ServiceException
	 */
	public List<String> queryActionMenu(String managerId) throws ServiceException;
	
	/* 通用接口 */
	public PurviewMenu get(PurviewMenu entity) throws ServiceException;
	public Long getCount(PurviewMenu entity) throws ServiceException;
	public List<PurviewMenu> getList(PurviewMenu entity) throws ServiceException;
	public String insert(PurviewMenu entity) throws ServiceException;
	public String delete(PurviewMenu entity) throws ServiceException;
	public String update(PurviewMenu entity) throws ServiceException;
}
